package com.rabbiter.pet.exception;


/**
 * 自定义异常
 */
public class ServiceException extends RuntimeException {
    private String code;
    public ServiceException(String code, String msg) {
        super(msg);
        this.code = code;
    }
    public String getCode() {
        return code;
    }
}
